import request from '@/utils/request'

// 登录
export function login(data) {
// api /sys/login ==> 
return request({
    url :'/sys/login',
    method:'POST',
    data
})
}

//获取用户信息
export function getInfo(token) {
    return request({
        url:'/sys/profile',
        method:'POST'
    })
}

export function logout() {

}
